<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>div和span</title>
  </head>
  <body>
    <!-- 
      div和span
      它们本身没有含义,在前端开发中,相当于盒子,它们的作用是用来布局
      div是大盒子,独占一行
      span是小盒子,大小由内容决定
     -->
    <div>这是div</div>
    <div>这是div</div>
    <span>这是span</span><span>这是span</span>
  </body>
</html>
